package com.study.manage.entity;

import com.study.manage.pojo.Role;
import com.study.manage.pojo.UserRoleKey;
import lombok.AllArgsConstructor;
import lombok.ToString;

import java.util.List;

@ToString
@AllArgsConstructor
public class UserRolesVO {
    public UserRolesVO(Integer id, String username, String mobile) {
        this.id = id;
        this.username = username;
        this.mobile = mobile;
    }

    private Integer id;

    private String username;

    private String mobile;

    private String email;

    private String password;

    private Integer insertUid;

    private String insertTime;

    private String updateTime;

    private boolean isDel;

    private boolean isJob;

    private List<Role> roles;

    private Integer version;

}